package com.sumainfor.pc.market.service.tenant.impl;

import com.sumainfor.common.util.FieldCheckUtil;
import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.market.dao.tenant.UnionPayMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * 功能描述:
 * 房协银联
 * @Auther: zhlu
 * @Date: 2019/3/21 19:12
 * @Description:
 */
@Service
public class UnionPayService {

    @Autowired
    UnionPayMapper UnionPayMapper;

    /**
     * 功能描述: 
     * 根据房源编号，获取房源资料上传至房协
     * @Author zhlu
     * @Description //TODO
     * @Date 2019/3/22 9:50
     */
    public JsonResult UnionUploadHousing(Map<String,Object> params){
        JsonResult result=new JsonResult();
        if(!FieldCheckUtil.isMapFieldNotNull(params,new String[]{"HouInfoId"})){
            result.putFailed("HouInfoId不能为空！");
            return  result;
        }

        return JsonResult.success();
    }

}
